package com.xnewtech.xplatform.swan.system.api;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;
import java.util.Map;

/**
 * 应用api
 *
 * @author xnew
 * @Date 2020/10/12 20:55
 */
@RequestMapping("/systemAppApi")
public interface SystemAppApi {

    /**
     * 获取应用id和name映射map
     *
     * @author xnew
     * @Date 2020/10/12 20:55
     */
    @RequestMapping(name = "获取应用id和name映射map", value = "/getAppMap", method = RequestMethod.GET)
    Map<Long, String> getAppMap();

    /**
     * 获取应用下拉列表
     *
     * @author xnew
     * @Date 2020/10/12 20:55
     */
    @RequestMapping(name = "应用下拉列表", value = "/getAppSelectList", method = RequestMethod.GET)
    List<Map<String, Object>> getAppSelect();

}
